package com.intretech.tj.gpp.result

import com.intretech.tj.gpp.message.VehicleEndMessage
import com.intretech.tj.gpp.message.VehicleMessage

// 定义一个强类型的返回结果
sealed class TaskResult {
    data class Success(val result: VehicleMessage,val taskTopic:String) : TaskResult()
    data class SuccessEnd(val result: VehicleEndMessage,val taskTopic:String) : TaskResult()
    object NotFound : TaskResult()
}
